package com.heima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author: itheima
 * @create: 2022-06-28 12:24
 */
@SpringBootApplication(scanBasePackages = {"com.heima", "cn.itcast"})
@EnableDiscoveryClient  //用于Eureka，Zookeeper，Consul，Nacos
@EnableFeignClients
public class MediaApp {

    public static void main(String[] args) {
        SpringApplication.run(MediaApp.class, args);
    }
}
